package com.slwu.entity;

import java.io.Serializable;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.slwu.entity.base.BaseEntity;
import com.slwu.handler.HutoolJsonStringTypeHandler;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wushaolin
 * @since 2025-10-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Plot对象", description="")
@TableName(value = "plot", autoResultMap = true)
public class Plot extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "村代码")
    private String village;

    @ApiModelProperty(value = "村代码")
    @TableField(value = "ext", typeHandler = HutoolJsonStringTypeHandler.class)
    private JSONObject ext;

}
